package com.wenwu.common.bean;

import java.io.Serializable;
import java.util.List;

public class Resource implements Serializable{
	private static final long serialVersionUID = 6894864320378905793L;

	private Integer sourceId;

	private String sourceName;

	private String path;

	private String target;

	private String sourceType;

	private Integer parentId;

	private String addTime;

	private Integer sourceLevel;

	private Integer isUsed;

	private String functionIds;

	private String functionNames;

	private String remark;
	/**
	 * 无映射属性
	 */
	private Integer parentSourceLevel;
	private List<Function> functions;// 资源功能数组

	public Integer getSourceId() {
		return sourceId;
	}

	public void setSourceId(Integer sourceId) {
		this.sourceId = sourceId;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getSourceType() {
		return sourceType;
	}

	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public Integer getSourceLevel() {
		return sourceLevel;
	}

	public void setSourceLevel(Integer sourceLevel) {
		this.sourceLevel = sourceLevel;
	}

	public Integer getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}

	public String getFunctionIds() {
		return functionIds;
	}

	public void setFunctionIds(String functionIds) {
		this.functionIds = functionIds;
	}

	public String getFunctionNames() {
		return functionNames;
	}

	public void setFunctionNames(String functionNames) {
		this.functionNames = functionNames;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getParentSourceLevel() {
		return parentSourceLevel;
	}

	public void setParentSourceLevel(Integer parentSourceLevel) {
		this.parentSourceLevel = parentSourceLevel;
	}

	public List<Function> getFunctions() {
		return functions;
	}

	public void setFunctions(List<Function> functions) {
		this.functions = functions;
	}
}